﻿@model IEnumerable<DoAnWebsite.Models.Hospital>
@{
    ViewBag.Title = "ListHospital";
    Layout = "~/Views/Shared/_Layout_Site.cshtml";
}
<script>
    $(document).ready(function () {
        $(".nav li").removeClass("active");
        $('#listhospital').addClass('active');
    });
</script>

<table id="hor-minimalist-b">
	<thead>
		<tr>
			<th scope="col">Bệnh viện/Phòng khám</th>
			<th scope="col">Địa chỉ</th>
			<th scope="col">Điện thoại</th>
		</tr>
	</thead>
    <tbody>
        @foreach (var item in Model)
        {
            <tr>
                <td>@Html.ActionLink(item.Name, "HospitalInfo", "Home", new { id = item.HospitalId }, null)</td>
                <td>@item.Address</td>
                <td>@item.Phone</td>
            </tr>
        }     
    </tbody>
	</table>
